<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台管理系统</title>
<link type="text/css" rel="stylesheet" href="<?php echo static_url('css', 'minisiteStyle.css');?>" />
</head>
<body>
<div id="header">
  <h1 class="fl logo">后台管理系统</h1>
</div>
<div id="page">
<form action="<?php echo site_url('admin/login/do_post');?>" method="POST">
  <div class="login">
    <ul class="list">
      <li>
        <label>用户名:</label>
        <input type="text" name="name" class="border" value="<?php echo set_value('name')?>"/>
      </li>
      <li>
        <label>密&nbsp;&nbsp;&nbsp;&nbsp;码:</label>
        <input type="password" name="password" class="border" />
      </li>
        <li>
            <label>验证码:</label>
            <input type="text" name="gd_pic" class="border" style="width:140px" />
            <a href="javascript:window.location.reload();" title="点击切换验证码"> <img src="<?php echo base_url('admin/login/show');?>" alt="点击切换验证码"/></a>
        </li>
    </ul>

      <div class="btnBox">
          <input type="submit" value="登陆" class="iBtn" />&nbsp;&nbsp;&nbsp;&nbsp;
          <span style="color:#b94a48;"><?php if(!empty($error)) echo $error;?></span>
      </div>
</form>
</div>
</body>
</html>
